﻿using System;
using ZHDJ.Data.Models.Center;
using ZHDJ.WebPage;

namespace ZHDJ.Web.Portal.VolunteerActivitie
{
    public partial class VolunteerQuotationDetail : PortalPage
    {
        private string ActiviteID
        {
            get
            {
                return this.Request["ID"] ?? "";
            }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            PartyVolunteerQuotation quotation = DB.PartyVolunteerQuotations.Find(ActiviteID);
            lbCreateBy.Text = ControlBusiness.GetMembersPickerText(quotation.CreateBy);
            ltContent.Text = quotation.Content;
        }
    }
}